﻿@model GameSchool.Models.TeacherMasterViewModel
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script>
    <script src="@Url.Content("~/Content/custom.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/dyno.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="container">
        <div id="topbar">
            <div id="topbarContainer">
                <div id="topbarLogo">
                    <a href="/">GameSchool</a></div>
                <div id="topbarName">@Model.teacherName | @Html.ActionLink("Log off", "LogOff", "Account")</div>
                <div id="topbarNotification">
                    Notification</div>
            </div>
        </div>
        <div id="mainSectionContainer">
            <div id="mainSection">
                <ul id="menu">
                    @RenderSection("menu", required: false)
                </ul>
                <div id="sidebar">
                    <ul>
                        @foreach (var item in Model.sidebarCourses)
                        { 
                            <li><a href="/Teacher/TeacherCourseHome/@item.courseID">@item.title</a></li>
                        }
                    </ul>
                </div>
                <div id="main">
                    @RenderBody()
                </div>
                <div id="dummy">
                </div>
            </div>
        </div>
        <div id="footer">
            <p>GameSchool | ©2012 Supergroup11</p>
        </div>
    </div>
</body>
</html>
